package com.ruoyi.system.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 资讯管理模块对象 consultation
 * 
 * @author ruoyi
 * @date 2025-05-16
 */
public class Consultation extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long consultationId;

    /** 客户id */
    @Excel(name = "客户id")
    private Long customerId;

    /** 咨询号 */
    @Excel(name = "咨询号")
    private String askNumber;

    /** 出行人数 */
    @Excel(name = "出行人数")
    private Long travelCount;

    /** 意向目的地 */
    @Excel(name = "意向目的地")
    private String destination;

    /** 预计出发时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "预计出发时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date departureDate;

    /** 可调整时间 */
    @Excel(name = "可调整时间")
    private String adjustableTime;

    /** 计划天数 */
    @Excel(name = "计划天数")
    private Long planDays;

    /** 预算（元） */
    @Excel(name = "预算", readConverterExp = "元=")
    private BigDecimal budget;

    /** 定制师id */
    @Excel(name = "定制师id")
    private String rid;

    /** 备注 */
    @Excel(name = "备注")
    private String remarks;

    public void setConsultationId(Long consultationId) 
    {
        this.consultationId = consultationId;
    }

    public Long getConsultationId() 
    {
        return consultationId;
    }

    public void setCustomerId(Long customerId) 
    {
        this.customerId = customerId;
    }

    public Long getCustomerId() 
    {
        return customerId;
    }

    public void setAskNumber(String askNumber) 
    {
        this.askNumber = askNumber;
    }

    public String getAskNumber() 
    {
        return askNumber;
    }

    public void setTravelCount(Long travelCount) 
    {
        this.travelCount = travelCount;
    }

    public Long getTravelCount() 
    {
        return travelCount;
    }

    public void setDestination(String destination) 
    {
        this.destination = destination;
    }

    public String getDestination() 
    {
        return destination;
    }

    public void setDepartureDate(Date departureDate) 
    {
        this.departureDate = departureDate;
    }

    public Date getDepartureDate() 
    {
        return departureDate;
    }

    public void setAdjustableTime(String adjustableTime) 
    {
        this.adjustableTime = adjustableTime;
    }

    public String getAdjustableTime() 
    {
        return adjustableTime;
    }

    public void setPlanDays(Long planDays) 
    {
        this.planDays = planDays;
    }

    public Long getPlanDays() 
    {
        return planDays;
    }

    public void setBudget(BigDecimal budget) 
    {
        this.budget = budget;
    }

    public BigDecimal getBudget() 
    {
        return budget;
    }

    public void setRid(String rid) 
    {
        this.rid = rid;
    }

    public String getRid() 
    {
        return rid;
    }

    public void setRemarks(String remarks) 
    {
        this.remarks = remarks;
    }

    public String getRemarks() 
    {
        return remarks;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("consultationId", getConsultationId())
            .append("customerId", getCustomerId())
            .append("askNumber", getAskNumber())
            .append("travelCount", getTravelCount())
            .append("destination", getDestination())
            .append("departureDate", getDepartureDate())
            .append("adjustableTime", getAdjustableTime())
            .append("planDays", getPlanDays())
            .append("budget", getBudget())
            .append("rid", getRid())
            .append("remarks", getRemarks())
            .toString();
    }
}
